package com.jxdinfo.hussar.activitidemo.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 车型图片故障代码位置表
 * </p>
 *
 * @author 
 * @since 2019-05-29
 */
@TableName("TDB_YJ_M_IMG_POSITION")
public class TdbYjMImgPosition extends Model<TdbYjMImgPosition> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableField("S_ID")
    private String sId;
    /**
     * 车型
     */
    @TableField("S_TRAINTYPE")
    private String sTraintype;
    /**
     * 故障代码
     */
    @TableField("S_CODE")
    private String sCode;
    /**
     * 是否可用：0 不可用；1可以
     */
    @TableField("S_STATE")
    private Double sState;
    /**
     * 标点字典表id
     */
    @TableField("S_POSITION_DIC_ID")
    private String sPositionDicId;
    /**
     * 创建者
     */
    @TableField("S_CREATOR")
    private String sCreator;
    /**
     * 创建时间
     */
    @TableField("S_CREATE_DATE")
    private String sCreateDate;

    private Integer positionCount;

    public Integer getPositionCount() {
        return positionCount;
    }

    public void setPositionCount(Integer positionCount) {
        this.positionCount = positionCount;
    }

    public String getsId() {
        return sId;
    }

    public void setsId(String sId) {
        this.sId = sId;
    }

    public String getsTraintype() {
        return sTraintype;
    }

    public void setsTraintype(String sTraintype) {
        this.sTraintype = sTraintype;
    }

    public String getsCode() {
        return sCode;
    }

    public void setsCode(String sCode) {
        this.sCode = sCode;
    }

    public Double getsState() {
        return sState;
    }

    public void setsState(Double sState) {
        this.sState = sState;
    }

    public String getsPositionDicId() {
        return sPositionDicId;
    }

    public void setsPositionDicId(String sPositionDicId) {
        this.sPositionDicId = sPositionDicId;
    }

    public String getsCreator() {
        return sCreator;
    }

    public void setsCreator(String sCreator) {
        this.sCreator = sCreator;
    }

    public String getsCreateDate() {
        return sCreateDate;
    }

    public void setsCreateDate(String sCreateDate) {
        this.sCreateDate = sCreateDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.sId;
    }

    @Override
    public String toString() {
        return "TdbYjMImgPosition{" +
        "sId=" + sId +
        ", sTraintype=" + sTraintype +
        ", sCode=" + sCode +
        ", sState=" + sState +
        ", sPositionDicId=" + sPositionDicId +
        ", sCreator=" + sCreator +
        ", sCreateDate=" + sCreateDate +
        "}";
    }
}
